/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package mapper;

import entities.Members;
import java.util.HashMap;
import java.util.List;

/**
 *
 * @author michael
 */

public interface MembersMapper {
    

    public void insertUser(Members user);	
    
    public Members getUserById(Integer userId); 
     
    public Members getUserByEmail(String Username);
    
    public Members getUserByAccountCredential(String Username , String password);
	      
    public List<Members> getAllUsers();
	  
    public void updateUser(Members user);
	  
    public void deleteUser(Integer userId);
    
    public List<Members> rechercheMembers(HashMap recherche);

    
}